<div id="header">
    <div id="logo"><a href="index.php"><img src="static/images/logo2.gif" /></a></div>
    {{if $isLogin neq 'y'}}
    <div id="method">
        <a href="index.php">回到首页</a>
        |
        <a href="login.php?ReturnUrl={{$visitorURL}}">登录</a>
        |
        <a href="passport.php">注册</a>
    </div>
    {{else}}
    <div id="method">
        <a href="user.php">{{$username}}</a>
        |
        <a href="passport.php">消息(0)</a>
        |
        <a href="logout.php?ReturnUrl={{$visitorURL}}">退出</a>
    </div>
    {{/if}}
</div>
